public class String_test3 {
    public static void main(String[] args) {
        String s1 = "hello";
        String s2 = "hello";
        String a = "a";
        String b = "a";
//        System.out.println(s1 == s2);
//        System.out.println(s1);
//        System.out.println(s2);

        Print1(s1,s2,a,b);

    }

    public static boolean Print1(String s1, String s2, String a, String b){
        if (s1.equals(s2) && a.equals(b)){
            System.out.println("true");
            return true;

        }else{
            System.out.println(false);
            return false;
        }

    }


}
